package com.patterns.factory.abstracts;

import com.patterns.factory.pojo.Circle;
import com.patterns.factory.pojo.Color;
import com.patterns.factory.pojo.Red;
import com.patterns.factory.pojo.Shape;

/**
 * @author fwj
 * @date 2020/12/8 17:52
 **/
public class CircleFactory implements AbstractFactory {
    public Shape createShape() {
        return new Circle();
    }

    public Color createColor() {
        return new Red();
    }
}
